package com.boss.salary.service.impl;

import com.boss.salary.dao.IAgencySalaryHistoryDao;
import com.boss.salary.service.IAgencySalaryHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AgencySalaryHistoryServiceImpl implements IAgencySalaryHistoryService {

    @Autowired
    private IAgencySalaryHistoryDao agencySalaryHistoryDao;

    @Override
    public List<Map<String, Object>> getColumnByAgencyIdAndSalaryMonth(String privince,String agencyId, String month) {
        return agencySalaryHistoryDao.selectSalaryColumnAndName(privince,agencyId, month);
    }
}
